<div class="clearfix" id="content">
  <div>
    <div class="blogPaneLeft">

      <div class="blogPost">
        <div class="blogUserImage">
          <!-- USER Image -->
        </div>

        <h1 class="blogPostTitle"><%= @question[:title]%></h1>

        <p class="blogPostPostedAt">
          By <span class="blogPoster"><%=h link_to @question[:author], :controller => :profile, :id =>  @question[:user_id] %></span> on <span class="blogPostDate"><%= @question[:publishdate] %></span>
         </p>

        <div class="blogPostBody">
          <%=@question[:body]%>
        </div>

        <p class="blogPostTags">
          <!-- Tags here -->
        </p>

        <% if logged_in?%>
            <div class="blogNewComment">
              <h2>Post an answer</h2>
              <% form_for :comment, :url => comment_path do |form| -%>
                  <%= render :partial => "comment_field_row",
                             :locals => { :form => form } %>
                  <%= form.hidden_field :question_id, :value => @question_id %>
                  <%= form.hidden_field :type, :value => @content_type_id %>
                  <div class="form_row">
                    <%= submit_tag "Post!", :class => "submit" %>
                  </div>
              <% end -%>
            </div>
        <%end%>


        <div class="blogComments">
            <%if @comments.length > 0%>          
          <h2>Showing <%= pluralize(@comments.length, "answers") %></h2>
              <%end%>
          <% @comments.each do |c|%>
              <div class="blogComment">
                <div class="blogUserImage">
                  <!-- User Image -->
                </div>

                <p class="blogCommentPostedAt">
                  By <span class="blogPoster"><%=h link_to c.author, :controller => :profile, :id =>  c.user_id %></span>
                  on
                  <span class="blogPostDate"><%= getFormattedDateTime(c.publishdate) %></span>
                </p>
                <%= c.body%>
                <br style="clear: both;">
              </div>
          <%end%>
        </div>

        <div class="blogPaneRight">
        </div>
        <br style="clear: both;">
      </div>

    </div>
  </div>
</div>